/**
 * 
 */
package com.demo2do.boyle.client.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demo2do.boyle.client.service.VariableService;
import com.demo2do.boyle.common.entity.system.Variable;
import com.demo2do.core.persistence.GenericDaoSupport;
import com.demo2do.core.service.impl.GenericServiceImpl;

/**
 * @author Jason.Y
 *
 */
@Service("variableService")
public class VariableServiceImpl extends GenericServiceImpl<Variable> implements VariableService {

	@Autowired 
	private GenericDaoSupport genericDaoSupport;
	

	@Override
	public Variable queryObjectForId(Integer id) {
		Variable variable = genericDaoSupport.load(Variable.class, id);
		return variable;
	}
	
}
